﻿@model DAL.User
@{
    ViewBag.Title = "Login";
}

<h2>Login</h2>

@using (Html.BeginForm())
{
    <h4>Username/Email:</h4>
    @Html.TextBoxFor(u=>u.Email)
    <h4>Password:</h4>
    @Html.PasswordFor(u=>u.Password)
    <input type="submit" name="Login" value="Login"/>
}